package com.tanhua.model.mongo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;

/**
 * @author げっしょく
 * @date 2021/11/7
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Document(collection = "peachblossom_voice")
public class PeachblossomVoice implements Serializable {

    private ObjectId id;
    private Long userId; //发布语音用户的id
    private String voiceUrl; //语音的存放地址
    private Integer degree; //语音读取次数
    private Long created; //语音发布时间

}
